<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_EN" lang="en_En">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<script src="<?php echo base_url()?>js/jquery-1.6.4.min.js" type="text/javascript"></script>
		<script src="<?php echo base_url()?>js/equalizer-admin.js" type="text/javascript"></script>
		<link rel="stylesheet" href="<?php echo base_url()?>css/styleadmin.css" type="text/css"/>
		<title><?php echo $title ?></title>
		<base href="<?php echo base_url()?>" />
	</head>
	<body id="client-list">
		<div id="wrapper">
			<div id="header-wrapper">
				<?php include_once('include/header_admin.php') ?>
			</div>
			<div id="content">
				<h2 class="page-header">Client's list</h2>
				<?php if($clientList != null): ?>
				<ol>
				<?php foreach ($clientList as $client):?>
					<li><a href="<?php echo site_url("admin/detail/".$client['husband']->id)?>"><?php echo $client['wife']->first_name."&nbsp;".$client['wife']->last_name."&nbsp; & &nbsp;".$client['husband']->first_name."&nbsp;".$client['husband']->last_name ?> </a></li>
				<?php endforeach;?>
				</ol>
				<?php else: ?>
					<p>There is no client</p>
				<?php endif;?>
			</div>
			<div id="footer-wrapper">
				<?php include_once('include/footer_admin.php') ?>
			</div>
		</div>
	</body>
</html>